from brick.lib.base import *
from pyglons.states.menu import MenuState

from brick.states.game import BrickGameState
from brick.states.help import BrickHelpState
from brick.states.splash import BrickSplashState

class BrickMenuState(MenuState):
    _basestate = BaseState

    def __init__(self):
        options = (
            ("New Game", lambda: app.pushState(BrickGameState())),
            ("Help", lambda: app.pushState(BrickHelpState())),
            ("Quit", lambda: app.popState()),
            ("Intro", lambda: app.pushState(BrickSplashState())),
        )
        MenuState.__init__(self, options)
 
